		<table cellpscenicding="3" cellspacing="1"  id="list-table">
			<tr>
			<#--
				<th>ID</th>
				
				-->
				<th>景点名称</th>
			<#--
				<th>景点补充名称</th>
			 -->
				<th>景点所在省份</th>
			 <#--
				<th>线路周期</th>
				
				 <th>景点类型</th>
				 -->
				 <#--
				<th>必驾理由</th>
				-->
				<#--
				<th>绘图图片1</th>
				 <th>绘图图片2</th>
				 <th>绘图图片3</th>
				 <th>绘图图片4</th>
				 
 				-->
 				<th>景点手绘图片包</th>
 				<#--
 				<th>景点印象1</th>
 				<th>景点印象2</th>
 				<th>景点印象3</th>
 				<th>景点印象4</th>
 				<th>景点印象5</th>
 				-->
 				<th>路面</th>
 				 
				<th>背景</th>
			 <th>增加时间</th>
				<th>操作</th>
			</tr>
<#if (scenicSpotsModelList?size>0) >
    <#list  scenicSpotsModelList as scenic>
      <tr>
				<#--	<td valign="top" nowrap="nowrap"> ${(scenic.scenicId)?c}</td>
				 -->
					<td   align="center" valign="top"  >
					
					<#if (scenic.scenicName)??>
					 ${scenic.scenicName} 
					 </#if>
			       </td>
			       <#--
			       <td   align="center">
					<#if (scenic.scenicSupplementName)??>
					
		   ${scenic.scenicSupplementName}
			             
	 
				     	</#if>
				     	 
					</td>
					 
			     -->
					

					<td align="center" valign="top"> 
					<#if (scenic.scenicLocation)??>
				 
					
					
						 <#if (cityLists?size>0) >
							<#list  cityLists as city>
							 
							<#if city.citycode==scenic.scenicLocation >
					
							 ${city.city} 
						 
							</#if>
							  
							</#list>
						</#if>
							</#if>
				 
					</td>
					<#--
					<td align="center" valign="top" >
					<#if (scenic.scenicCycle)??>
							${scenic.scenicCycle}
								</#if>
					</td>
					
					   <td   align="center">
			        <#if (scenic.scenicType)??>
					 
					  
					  <#list  routeTypeLists as routeType>
							 
								<#if (routeType.routeTypeListId)?string==scenic.scenicType >
					
									 ${routeType.content} 
						 
								</#if>
							  
								</#list>
					  	</#if>
					</td>
					-->
					<#--
					<td align="center" valign="top" nowrap="nowrap">
				 <#if (scenic.scenicDesc)??>
						${scenic.scenicDesc}
							</#if>
					</td>
					-->
						<#--
					<td align="center" valign="top" nowrap="nowrap">
					<#if (scenic.handPainting1)??>
					 
					  
				 		<a href="../${scenic.handPainting1}" > <img src="..${scenic.handPainting1}" width="30px"></a>
			 
					 	</#if>
					</td>
					<td align="center" valign="top" nowrap="nowrap">
					<#if (scenic.handPainting2)??>
					 
					  
				 		<a href="../${scenic.handPainting2}" > <img src="..${scenic.handPainting2}" width="30px"></a>
			 
					 	</#if>
					</td>
					<td align="center" valign="top" nowrap="nowrap">
					<#if (scenic.handPainting3)??>
					 
					  
				 		<a href="../${scenic.handPainting3}" > <img src="..${scenic.handPainting3}" width="30px"></a>
			 
					 	</#if>
					</td>
					<td align="center" valign="top" nowrap="nowrap">
					<#if (scenic.handPainting4)??>
					 
					  
				 		<a href="../${scenic.handPainting4}" > <img src="..${scenic.handPainting4}" width="30px"></a>
			 
					 	</#if>
					</td>
				 
					-->
					 	<td align="center" valign="top" nowrap="nowrap">
						 
					 	
						 <#if (scenic.scenicPackage)??>
					  
					 	
					 	<a href="../${scenic.scenicPackage}" >点击下载</a>
					 		</#if>
					 		 
					</td>
					 
					<td align="center" valign="top" nowrap="nowrap">
						 
					 	 <#if (scenic.handPaintingRoad)??>
 
<a href="../${scenic.handPaintingRoad}" > <img src="../${scenic.handPaintingRoad}" width="25px"></a>
				
					 		</#if>
					 		 
					</td>
					  <td align="center" valign="top" nowrap="nowrap">
						<#if (scenic.handPaintingBackground)??>
			 
<a href="../${scenic.handPaintingBackground}" > <img src="../${scenic.handPaintingBackground}" width="25px"></a>
				
					 		</#if>
					</td>
					<td align="center" valign="top" >
						${scenic.addTime?string("yyyy-MM-dd HH:mm:ss")}
					</td>
					 
					<td   align="center">
					
						<a href="../product/getScenicSpotsModelById.action?scenicId=${scenic.scenicId}">编辑</a>|
						<a  onclick="{if(confirm('你确定要删除吗？')){return true;}return false;}" href="../product/deleteScenicSpotsModel.action?scenicId=${scenic.scenicId}">删除</a>

					</td>
				</tr>
    </#list>
</#if>


</table>
 <script type="text/javascript">
     listTable.action = "ajaxQueryScenicSpotsModelList.action";
     listTable.currentPage=${(page.currentPage)?c};
     listTable.pageCount=${(page.totalPage)?c};
     listTable.recordCount=${(page.allRow)?c};
 </script>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
			<tr>
				<td align="right" nowrap="true">
					<div id="turn-page">
					共<span id="totalRecords">${page.allRow} </span>条记录&nbsp; 
					共<span	id="totalPages">${page.totalPage}</span> 页&nbsp;
				当前第<span	id="pageCurrent">${page.currentPage}</span>页&nbsp;  
	     
	     <!--也许可以换种方式，呵呵，不用人工输入，用下拉列表-->
	     每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}" onkeypress="return listTable.changePageSize(event)" />
	   <!--查询动作-->
	    <input type='hidden' size='3' id='action' value="ajaxQueryScenicSpotsModelList.action"/>
	       
							
						<span id="page-link">  
						<a	href="javascript:listTable.gotoPageFirst()">第一页</a> 
						<a	href="javascript:listTable.gotoPagePrev()">前一页</a> 
						<a	href="javascript:listTable.gotoPageNext()">下一页</a> 
						<a	href="javascript:listTable.gotoPageLast()">最后一页</a> 
						<select	id="gotoPage" onchange="listTable.gotoPage(this.value)">
						<#assign x=page.totalPage>
						<#assign y=page.currentPage>
						<#list 1 .. x as i>
						<#if y==i >
						    <option value="${(i)?c}" selected="selected">${(i)?c}</option>
						<#else>
							<option value="${(i)?c}" >${(i)?c}</option>
						</#if>
						</#list>
           </select>
        </span>
        </div>
        </td>
        
    </tr>
</table>
